package com.xiaoq.sites.entity;

import java.io.Serializable;

import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Transient;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.xiaoq.MongoEntity;

@Entity(value="legend",noClassnameStored=true)
public class LegendEntity extends MongoEntity implements Serializable {
	
	@JsonIgnore
	@Transient
	private static final long serialVersionUID = 5254701518481479402L;
	
	private String name; // 基建的名称
	private int type; //基建种类
	private String legend; //图片的Base64码
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public String getLegend() {
		return legend;
	}
	public void setLegend(String legend) {
		this.legend = legend;
	}
	

}
